@layout("/common/_container.html"){
<div class="ibox float-e-margins">
	<div class="ibox-content">
		<div class="form-horizontal" id="groupDetail">
			<input type="hidden" id="id" value="${group.id!}">
			<div class="col-sm-6">
				<#input id="groupName" name="组织机构名称" value="${group.groupName!}" underline="true" />
				<#select id="isEnable" name="是否启用">
				<option value="1">启用</option>
				<option value="0">不启用</option>
				</#select>
			</div>
			<div class="col-sm-6">
				<#input id="parentName" name="上级机构名称" readonly="readonly" hidden="pid"
				click="groupDetail.showGroupTree(); return false;"
				style="background-color: #ffffff !important;"
				ztreeFlag="true" ztreeDivId="ztreeDiv" ztreeId="pidTree" ztreeStyle="width:244px !important;"
				/>
			</div>
			<div class="row btn-group-m-t">
				<div class="col-sm-12 text-center"><#button btnCss="info"
					name="提交" id="ensure" icon="fa-check"
					click="groupDetail.submit('${action}')"/> <#button btnCss="danger"
					name="取消" id="cancel" icon="fa-eraser"
					click="groupDetail.close()"/></div>
			</div>
		</div>
	</div>
</div>
<script type="text/javascript">
	var isEnable = '${group.isEnable!}';
	var pid = '${group.pid!}';
</script>
<script src="${ctxPath}/${adminPath}/group/groupDetail.js"></script>
@}
